<script>
	export default {
		globalData: {
			BASEURL: 'https://shangren.sheshang-chain.com/tt-price-query-api',
		},
		onLaunch: function() {
			const info = wx.getSystemInfoSync()
			if (info.system.indexOf('Android') > -1) {
				// console.log('安卓')
				uni.setStorageSync('isios',false)
			} else {
				uni.setStorageSync('isios',true)
			}
		console.log('App Launch')
	},
	onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	.footer_btn {
		width: 750rpx;
		min-height: 120rpx;
		background: #FFFFFF;
		// box-shadow: 0rpx 1px 10rpx 0rpx rgba(0, 0, 0, 0.2);
		position: fixed;
		bottom: 0%;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
		z-index: 9;

		.cont {
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 28rpx;
			height: 120rpx;
			color: #000000;
			box-sizing: border-box;

			.btn {
				width: 690rpx;
				height: 100rpx;
				border-radius: 10rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 30rpx;
				line-height: 100rpx;
				text-align: center;
				background: linear-gradient(270deg, #FF6F07 0%, #FFA666 100%);
				color: #fff;
				margin: 20rpx auto;
			}

			.bt1 {
				background: linear-gradient(270deg, #0D75FF 0%, #59C8FF 100%);
			}

			.on {
				opacity: 0.54 !important;
			}
		}
	}

	/*每个页面公共css */
	page {
		background-color: #F4F4F4;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
	}

	@font-face {
		font-family: 'DINB';
		src: url('/common/DIN-Bold.otf');
		font-weight: normal;
		font-style: normal;
	}

	@font-face {
		font-family: 'FINE';
		src: url('/common/DIN-REGULAR-2.OTF');
		font-weight: normal;
		font-style: normal;
	}

	.pclass {
		color: #FFA666;
		font-size: 28rpx;
	}

	.pclass1 {
		color: #D1CDCD;
		font-size: 28rpx;
	}

	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}

	.u-flex {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	/* 换行 */
	.u-flex-wrap {
		flex-wrap: wrap;
	}

	/* 不换行 */
	.u-flex-nowrap {
		flex-wrap: nowrap;
	}

	/* 垂直居中 */
	.u-col-center {
		align-items: center;
	}

	/* 顶部对齐 */
	.u-col-top {
		align-items: flex-start;
	}

	/* 底部对齐 */
	.u-col-bottom {
		align-items: flex-end;
	}

	/* 左边对齐 */
	.u-row-left {
		justify-content: flex-start;
	}

	/* 水平居中 */
	.u-row-center {
		justify-content: center;
	}

	.u-row-evenly {
		justify-content: space-evenly;
	}

	/* 右边对齐 */
	.u-row-right {
		justify-content: flex-end;
	}

	/* 水平两端对齐，项目之间的间隔都相等 */
	.u-row-between {
		justify-content: space-between;
	}

	/* 水平每个项目两侧的间隔相等，所以项目之间的间隔比项目与父元素两边的间隔大一倍 */
	.u-row-around {
		justify-content: space-around;
	}

	.u-line-1 {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.u-l-1 {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.u-line-2 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.u-line-3 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
</style>